home *** CD-ROM | disk | FTP | other *** search
- Object Resource Corporation June, 1992
-
- Shareware Version 2.02 incorporates the following changes to version 2.01
- -------------------------------------------------------------------------
- September, 1992
-
- 1) BTF_FILE_STAT_SIZE (in BT.H) was incresed by 9 bytes to contain an
- alternate collating sequence's header bytes. (ver 2.01 should have
- added 265 bytes rather that 256!)
-
- 2) BT_Key::GetKey implementation - added SetDataMax() call to the key's
- BT_Buff. This is done so that the key data may be read out of the
- buffer.
-
- NOTE that this was NOT added to the standard data retrieval functions.
- This would have added additional overhead to each call; the key value
- is available in the data buffer.
-
- 3) BT_Key::Insert() and BT_Key::Update() implementations were changed. The
- userLen parameter is now processed ONLY if userBuff is-not-NULL. In
- previous versions a non-zero userLen value was processed even if userBuff
- was NULL.
-
- These two functions were also modified to correctly handle variable length
- records by correctly setting the data buffer's data length. Previous
- versions had called the data buffer's SetDataMax() function.
-
- Shareware Version 2.01 incorporates the following changes to version 2.0a:
- -------------------------------------------------------------------------
- June, 1992
-
- Some bug fixes...support for Microsoft C++...support for Btrieve op
- code 27:
-
-
- 1) Spelling of BT_MULTIPLE_WIAT was corrected to read BT_MULTIPLE_WAIT.
- (BT.H)
-
- 2) BTF_FILE_STAT_SIZE was increased by 256 bytes to cover the case
- of the maximum number of keys AND and alternate collating sequence
- existing for the file. (BT.H)
-
- 3) Friends of classes are now designated with the fuller syntax 'friend
- class friendclass' required by Microsoft compiler.
-
- 4) Several #endif statements were missing from the end of some .HPP files.
- Microsoft gagged.
-
- 5) Include file <mem.h> changed to <memory.h>. (BTBUFF.CPP)
-
- 6) The library for linking under Borland C++ version 2 is no longer included
- in the shareware version.
-
- 7) The library for Borland C++ version 3 is now called SBTBOR3.LIB.
-
- 8) A small model library has been included for Microsoft: SBTMS7.LIB.
-
- 9) The following functions in class BT_DataSet have been overloaded to allow
- record locking: StepFirst, StepLast, StepNext and StepPrev. (BTDSET.HPP
- and BTDSET.CPP)
-
- 10) Access to Btrieve's unlocking function (op code 27) was not included.
- This has been corrected with the addition of the following functions
- to both class BT_DataSet and class BT_Key: Unlock, UnlockRecord and
- UnlockAll. (BTDSET.HPP, BTDSET.CPP, BTKEY.HPP and BTKEY.CPP)
-
- Unlock() ... use this to unlock a record locked with a SINGLE record
- lock
-
- UnlockRecord() ... use this to remove the currently positioned record
- from a MULTIPLE record lock
-
- UnlockRecord(unsigned long Pos) ... use this to remove the record
- referenced by 'Pos' (the 4 byte position information) from
- a MULTIPLE record lock
-
- UnlockAll() ... this unlocks all records locked as part of a MULTIPLE
- record lock
-
-
-
-
-